using System;
using System.Collections.Generic;
using System.Text;
using FlatRedBall;
using FlatRedBall.Input;
using FlatRedBall.AI.Pathfinding;
using FlatRedBall.Graphics.Animation;
using FlatRedBall.Graphics.Particle;

using FlatRedBall.Math.Geometry;
using FlatRedBall.Math.Splines;
using BitmapFont = FlatRedBall.Graphics.BitmapFont;
using Cursor = FlatRedBall.Gui.Cursor;
using GuiManager = FlatRedBall.Gui.GuiManager;

#if FRB_XNA || SILVERLIGHT
using Keys = Microsoft.Xna.Framework.Input.Keys;
using Vector3 = Microsoft.Xna.Framework.Vector3;
using Texture2D = Microsoft.Xna.Framework.Graphics.Texture2D;


#endif
using NereusGame.Entities.Projectiles;
namespace NereusGame.Entities.Weapons
{
	public partial class TorpedoLauncher
	{
        private const int MAX_AMMO = 20;
        private void CustomInitialize()
        {
            Name = "Torpedo";
            InitializeAmmo();
            fireRate = initialFireRate = 50;

        }

		private void CustomActivity()
		{


		}

		private void CustomDestroy()
		{
            base.Destroy();

		}

        private static void CustomLoadStaticContent(string contentManagerName)
        {


        }

        private void InitializeAmmo()
        {
            for (int i = 0; i < MAX_AMMO; i++)
                deadAmmo.Enqueue(new Torpedo(CONTEN_MANAGER));
        }
	}
}
